package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblAkcAdditionalItemDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 爱库存-补款明细 Mapper 接口
 *
 * @author Ximi
 * @since 2020-07-06
 */
public interface TblAkcAdditionalItemDetailMapper extends BaseMapper {

    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     */
    public TblAkcAdditionalItemDetail getFoot(@Param("params") Map<String, Object> params);

    /**
     * updateExtractMoneyDate
     * @param detail
     */
    public void updateExtractMoneyDate(TblAkcAdditionalItemDetail detail);

    /**
     * 查询提现日期不为空的交易订单号的条数
     * @param list
     * @return
     */
    public int selectCountExistExtractMoneyDateByExchangeOrderNo(@Param("list") List<TblAkcAdditionalItemDetail> list);

}

